Skip to content

Conversation

tgavozzi
Copy link

Filled in challenge questions.

end
end

context "guess the type" do
it "Yes, it is a Object, but which" do
expect(:class.is_a? _fill_in_object_).to be true
expect(:class.is_a? (Symbol)).to be true
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The wrapping parentheses are unneeded here.

a_hash = {}
fail "remove this entire line, implement your solution here"
expect(a_hash.empty?).to be false
a_hash = {:item1 => 1}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think you were supposed to delete the first line: a_hash = {}. Instead, just change the fail line into something that adds one entry to a previously empty hash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants